package com.battle.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lombok.Data;
import nirvana.core.domains.ann.AccEntity;
import nirvana.core.domains.entity.DomainBaseEntity;
import nirvana.core.domains.enums.EntityType;

/**
 * 训练项目
 * @author anni.zhu
 * @author anni.zhu@king-v.com
 * Created in 2025/3/4 15:23
 */
@Data
@TableName(value = "TRAINING_PROGRAM",autoResultMap = true)
@Entity(name = "TRAINING_PROGRAM")
@AccEntity(value = "训练项目", type = EntityType.SERVICE_ENTITY)
public class TrainingProgram extends DomainBaseEntity<TrainingProgram> {
    /**
     * 项目名称
     */
    @Column()
    private String name;

    /**
     * 训练类型：0-基础训练  1-应用训练 2-小组训练
     */
    @Column()
    private Integer type;

    /**
     * 单位：0-秒 1-分 2-厘米 3-次/1分钟 4-次/2分钟 5-次/3分钟
     */
    @Column()
    private Integer unit;

    /**
     * 男子评分标准 json
     */
    @Column
    private String manScore;

    /**
     * 女子评分标准 json
     */
    @Column
    private String girlScore;

    /**
     * 评定标准 json
     */
    @Column()
    private String standard;

    /**
     * 小组训练-评判细则
     */
    @Column()
    private String judgeDetail;

    /**
     * 小组训练-评分标准
     */
    @Column()
    private String groupScore;

    /**
     * 小组训练-小组人数
     */
    @Column()
    private Integer groupNumber;

}
